package com.danci.mapper;

import com.danci.dto.LexiconDto;
import com.danci.entity.Lexicon;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 词库主表 Mapper 接口
 * </p>
 *
 * @author xxx
 * @since 2024-05-13
 */
public interface LexiconMapper extends BaseMapper<Lexicon> {


    List<LexiconDto> getLexiconList(@Param("userId")String userId);

    Map<String ,Object> getIndexData(@Param("lid")String lid,@Param("userId")String userId);

}
